<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <title>设备列表</title>
    <link href="../lib/layui/css/layui.css" rel="stylesheet" type="text/css" media="screen" />
    <script src="../lib/jquery-3.3.1.min.js" type="text/javascript" ></script>
    <script src="../lib/layui/layui.js" type="text/javascript" ></script>
    <script src="../lib/ezuikit.js" type="text/javascript" ></script>
    <script src="../js/cdys7lives/deviceMgr.js" type="text/javascript" ></script>
    <style>
        body {
            margin: 0;
        }

        .hint {
            font-size: 14px;
            line-height: 3em;
            color: gray;
        }

        #url,
        #url2,
        #accessToken {
            width: 100%;
        }

        .btn-container {
            margin: 10px;
        }

        .normal {
            color: green;
            margin: 5px;
        }

        .error {
            color: red;
            margin: 5px;
        }

        .encript-hint {
            font-size: 14px;
            margin: 20px 10px;
            color: rgba(0, 0, 0, 0.65);
        }

        .h2-hint {
            font-weight: normal;
            font-size: 14px;

        }
        .h2-hint a {
            color: #1890ff;
        }
    </style>
</head>
<body class="layui-layout-body" style="background-color:white;">
    <div>
        <form class="layui-form" lay-filter="serch_form">
            <div class="layui-input-inline">
                <button class="layui-btn"  type="button" onclick="reload()">刷新</button>
            </div>
        </form>
        <table id="deviceRecordTable" lay-filter="deviceRecordTable">
        </table>
    </div>
</body>
<div style="display: none" id="channelWindow">
    <form class="layui-form" lay-filter="serch_form">
        <div class="layui-input-inline" style="margin-left: 5px">
            <button class="layui-btn" lay-submit lay-filter="refreshChannel">刷新</button>
        </div>
    </form>
    <table id="deviceChannelTable" lay-filter="deviceChannelTable">
    </table>
</div>
<div style="display: none" id="monitorWindow">
    <input type="hidden" id="url"/>
    <input type="hidden" id="accessToken"/>
<!--    <textarea id="url" placeholder="这里输入ezopen地址">ezopen://open.ys7.com/F03168910/1.hd.live</textarea>-->
<!--    <textarea id="accessToken" placeholder="这里输入accessToken">at.79az04963kcwu60f1aeclcr76x4z2exx-5fj52bh4iv-166dlzx-hfccmyww2</textarea>-->
    <div class="btn-container">
        <button class="layui-btn" id="init">初始化</button>
        <button class="layui-btn" id="play">播放</button>
        <button class="layui-btn" id="stop">结束</button>
    </div>
<!--    <div id="video-container" style="width: 600px; height: 400px;"></div>-->
<!--    <div id="monitorLog" style="overflow-y: scroll;height: 200px"></div>-->
</div>
</html>